Time to make a list of weak passwords.

  • Change the values in weak_pws to "password", "password123", "hello1".

Make sure you don't delete the quotes around each word.

  • Add two values to the list by typing a comma and then "snuffles", "123456".

Make sure that all the valus are inside the square brackets [ ].

To navigate the page using the TAB key, first press ESC to exit the code editor.

stage.set_background("underwater") score = 0 score_board = codesters.Display(score) weak_pws = ["cat", "dog", "pig"] strong_pws = ["cat", "dog", "pig"]
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)